package com.frogs.ucenter.entity;

import java.io.Serializable;
import java.util.Date;

import com.frogs.system.util.UserIntegralRecordEnum;

public class UserIntegralRecord implements Serializable {
    private static final long serialVersionUID = 4477690540854703724L;

    /**
     * This field corresponds to the database column user_integral_record.integral_id
     */
    private Integer id = 0;

    /**
     * This field corresponds to the database column user_integral_record.user_id
     */
    private Integer userId = 0;

    /**
     * This field corresponds to the database column user_integral_record.integral_time
     */
    private Date integralTime = new Date();

    /**
     * This field corresponds to the database column user_integral_record.integral_num
     */
    private Integer integralNum = 0;

    /**
     * This field corresponds to the database column user_integral_record.type
     */
    private Integer type = UserIntegralRecordEnum.ORDER_EXCHANGE.getId();
    
    private String expandCode = "";
    
    private Integer applicablePlatformId = 0;
    
    private String remark = "";
    
    private String orderId = "";

    public String getOrderId() {
		return orderId;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	/**
     * This method returns the value of the database column user_integral_record.integral_id
     *
     * @return the value of user_integral_record.integral_id
     */
    public Integer getId() {
        return id;
    }

    /**
     * This method sets the value of the database column user_integral_record.integral_id
     *
     * @param id the value for user_integral_record.integral_id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * This method returns the value of the database column user_integral_record.user_id
     *
     * @return the value of user_integral_record.user_id
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * This method sets the value of the database column user_integral_record.user_id
     *
     * @param userId the value for user_integral_record.user_id
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * This method returns the value of the database column user_integral_record.integral_time
     *
     * @return the value of user_integral_record.integral_time
     */
    public Date getIntegralTime() {
        return integralTime;
    }

    /**
     * This method sets the value of the database column user_integral_record.integral_time
     *
     * @param integralTime the value for user_integral_record.integral_time
     */
    public void setIntegralTime(Date integralTime) {
        this.integralTime = integralTime;
    }

    /**
     * This method returns the value of the database column user_integral_record.integral_num
     *
     * @return the value of user_integral_record.integral_num
     */
    public Integer getIntegralNum() {
        return integralNum;
    }

    /**
     * This method sets the value of the database column user_integral_record.integral_num
     *
     * @param integralNum the value for user_integral_record.integral_num
     */
    public void setIntegralNum(Integer integralNum) {
        this.integralNum = integralNum;
    }

    /**
     * This method returns the value of the database column user_integral_record.type
     *
     * @return the value of user_integral_record.type
     */
    public Integer getType() {
        return type;
    }

    /**
     * This method sets the value of the database column user_integral_record.type
     *
     * @param type the value for user_integral_record.type
     */
    public void setType(Integer type) {
        this.type = type;
    }

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}
	public String getExpandCode() {
		return expandCode;
	}

	public void setExpandCode(String expandCode) {
		this.expandCode = expandCode;
	}

	public Integer getApplicablePlatformId() {
		return applicablePlatformId;
	}

	public void setApplicablePlatformId(Integer applicablePlatformId) {
		this.applicablePlatformId = applicablePlatformId;
	}
}